import request from '@/utils/request'

// 查询生理周期设置列表
export function listUser_physiology_set(query) {
  return request({
    url: '/ring/user_physiology_set/list',
    method: 'get',
    params: query
  })
}

// 查询生理周期设置详细
export function getUser_physiology_set(id) {
  return request({
    url: '/ring/user_physiology_set/' + id,
    method: 'get'
  })
}

// 新增生理周期设置
export function addUser_physiology_set(data) {
  return request({
    url: '/ring/user_physiology_set',
    method: 'post',
    data: data
  })
}

// 修改生理周期设置
export function updateUser_physiology_set(data) {
  return request({
    url: '/ring/user_physiology_set',
    method: 'put',
    data: data
  })
}

// 删除生理周期设置
export function delUser_physiology_set(id) {
  return request({
    url: '/ring/user_physiology_set/' + id,
    method: 'delete'
  })
}
